package com.atqinke.designpattern.structuraltype.proxy.jdk_proxy;

/**
 * @BelongsProject: BasicConnection
 * @BelongsPackage: com.atqinke.DesignPattern.structuraltype.proxy.jdk_proxy
 * @Author: NieHk
 * @CreateTime: 2022-08-26  15:06
 * @Description: jdk代理测试
 * @Version: 1.0
 */
public class test {
    public static void main(String[] args) {
        ProxyFactory proxyFactory = new ProxyFactory();
        SellTickets factory = proxyFactory.getProxyFactory();
        factory.sell();
        factory.charge();
    }
}
